<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>活动编辑</title>
<style type="text/css">
  /*  body{text-align: center}
  table{font-size: 12px;width: 80%;}
  tr{height: 30px}
  .td{text-align: right} */
</style>
</head>
<link rel="stylesheet" href="<%=basePath%>ui/css/edit.css" />
<body>
<div class="nav"><%@ include file="/common/nav.jsp"%></div>
	<form action="${basePath}sysnode/save.html" id="myform" method="post" onsubmit="return checkContent()">
		<input type="hidden" name="porCode" value="${porCode}"> <input
			type="hidden" name="id" value="${entity.id}">
			<input type="hidden" name="type" value="${type}">
			<input type="hidden" name="nodeCode" value="${entity.nodeCode}">
			<input type="hidden" name="parentsNodeId" value="${entity.parentsNodeId}">
			<table cellspacing="0" cellpadding="0" border="0"  class="addclass">
			<colgroup>
			 <col width="20%">
			 <col width="80%">
			</colgroup>
			<tr>
				<td  class="trLeft">权限名称：</td>
				<td><input type="text" name="nodeName" value="${entity.nodeName}" maxlength="20" ></td>
			</tr>
				<tr>
				<td class="trLeft">是否公开：</td>
				<td>
				<c:if test="${empty entity.id }">
				<input type="radio" name="isOpen" value="1" checked="checked" class="otherInput">是
				<input type="radio" name="isOpen" value="0" class="otherInput">否
				</c:if>  
				<c:if test="${not empty entity.id }">
				<input type="radio" name="isOpen" class="otherInput" value="1" <c:if test="${entity.isOpen==1 }"> checked="checked"</c:if>>是
				<input type="radio" name="isOpen" class="otherInput" value="0" <c:if test="${entity.isOpen==0 }"> checked="checked"</c:if>>否
				</c:if>
				</td>
			</tr>
			<tr>
				<td  class="trLeft">URL：</td>
				<td><input type="text" name="url" value="${entity.url}" maxlength="100"></td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: center"><input type="submit" value="提交" id="save" class="button"></td>
				<!-- onclick="save()" -->
			</tr>
		</table>
	</form>
</body>
</html>
